home *** CD-ROM | disk | FTP | other *** search
/ Old Testament Foundatiosn with Philip Yancey / Old Testament Foundatiosn with Philip Yancey - Disc 1.iso / pc / data / m17intro.dir / 00022.ls < prev    next >
Encoding:
Text File  |  1996-09-06  |  769 b   |  28 lines

  1. on mouseDown
  2.   global gPause
  3.   if the castNum of sprite 8 = the number of cast "b021.roll" then
  4.     set the castNum of sprite 8 to cast "b021"
  5.   else
  6.     if the castNum of sprite 8 = the number of cast "b023.roll" then
  7.       set the castNum of sprite 8 to cast "b023"
  8.     end if
  9.   end if
  10.   if pressLessonButton(8) then
  11.     pupSprites(8, 8, 1)
  12.     if the castNum of sprite 8 = the number of cast "b021" then
  13.       set the castNum of sprite 8 to cast "b023"
  14.       sound stop 2
  15.       set gPause to 1
  16.       updateStage()
  17.       go(the frame)
  18.     else
  19.       if the castNum of sprite 8 = the number of cast "b023" then
  20.         set the castNum of sprite 8 to cast "b021"
  21.         updateStage()
  22.         set gPause to 0
  23.         go(marker(-1))
  24.       end if
  25.     end if
  26.   end if
  27. end
  28.